public class Test1 {
    public static void main(String[] args) {
       /* Vehicle car = new Vehicle();
        car.brand = "小米";
        car.color = "蓝色";
        car.price = 200000.0;
        car.run();
        car.stop();
        car.endurance();
        car.whistle();
        System.out.println("这个汽车的品牌是"+car.brand+
                ",颜色是"+car.color
                );*/


        Phone p = new Phone();
        p.brand = "OPPO";
        p.price = 1000;
        p.color = "黑色";
        p.call();
        p.playGame();
        p.listentoMusic();
        System.out.println("品牌："+ p.brand + "价格："+ p.price+"颜色："+ p.color);
    }
}
